home *** CD-ROM | disk | FTP | other *** search
- Date: Tue, 31 May 94 09:59 BST-1
- From: Andre Willey <andre@cix.compulink.co.uk>
- Subject: Re: Color Mapping/Ctrl-A
- To: gem-list@world.std.com
- Message-Id: <memo.248342@cix.compulink.co.uk>
- Precedence: bulk
-
-
- In-Reply-To: <199405310041.AA0728134737@relay2.geis.com>
-
- In <199405310041.AA0728134737@relay2.geis.com>, s.sanders2@genie.geis.com
- wrote:
-
- > I think the best guideline to follow is to _never_ alter the first
- > 16 colors from the factory default unless one of the following three
- > conditions are in effect:
- >
- > 1. You're in a 16-color or fewer mode and you're a graphics program.
- > 2. You're a grayscale graphics editor and you need all 256 colors.
- > 3. You're a full screen game.
-
- I fully agree. The user has a *Control Panel* with which to set up their
- preferred colour scheme. For a program to second-guess the user's own 0-15
- choices without good reason is arrogant. As you say, graphics programs
- are an obvious exception, though. What I would suggest is standardising
- the palette entries used for different tasks within a program. e.g. one
- entry for window backgrounds, one for text, another for dialog backgrounds,
- another for normal buttons, another for critical buttons, etc.) That way,
- a user could configure their colours so that all windows & dialogs look
- as *they* wish them to look, not as 1001 different programmers think they
- should look.
-
- > If you're in MultiTOS you should probably manage WM_TOPPED and
- > WM_UNTOPPED appropriately to reserve and release the upper 240 palette
- > entries.
-
- Yep. Applications that do alter the palette should only do so when the
- appropriate window is topped. I don't think clicking on a background
- window should alter the colour palette unless it also tops the window.
-
- Andre
-
- +------------------------------------+-------------------------------+
- | Andre Willey | Cygnus Software Development |
- | Email: andre@cix.compulink.co.uk | Sutton Coldfield -- England |
- | or: ...{mcsun}!uknet!cix!andre | Tel: (UK/+44) 021 308 5251 |
- +------------------------------------+-------------------------------+
-